import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';



import * as serviceWorker from './serviceWorker';


//antd
import 'antd/dist/antd.css';
import './index.css';

//全球化
import moment from 'moment';
import 'moment/locale/zh-cn';

//redux
import store from './store';
import {Provider} from 'react-redux';
import {BrowserRouter as Router, Route} from 'react-router-dom';





moment.locale('zh-cn');


ReactDOM.render(
  <Provider store={store}>
    <Router>
      <Route component={App} />
    </Router>
  </Provider>,
  document.getElementById('root')
);









serviceWorker.unregister();
